/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: DuKe TeAm
 * License Type: Purchased
 */
package orm.dao;

import org.orm.*;
import orm.*;

public interface SucursalDAO {
	public Sucursal loadSucursalByORMID(Integer idSucursal) throws PersistentException;
	public Sucursal getSucursalByORMID(Integer idSucursal) throws PersistentException;
	public Sucursal loadSucursalByORMID(Integer idSucursal, org.hibernate.LockMode lockMode) throws PersistentException;
	public Sucursal getSucursalByORMID(Integer idSucursal, org.hibernate.LockMode lockMode) throws PersistentException;
	public Sucursal loadSucursalByORMID(PersistentSession session, Integer idSucursal) throws PersistentException;
	public Sucursal getSucursalByORMID(PersistentSession session, Integer idSucursal) throws PersistentException;
	public Sucursal loadSucursalByORMID(PersistentSession session, Integer idSucursal, org.hibernate.LockMode lockMode) throws PersistentException;
	public Sucursal getSucursalByORMID(PersistentSession session, Integer idSucursal, org.hibernate.LockMode lockMode) throws PersistentException;
	public Sucursal[] listSucursalByQuery(String condition, String orderBy) throws PersistentException;
	public Sucursal[] listSucursalByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Sucursal[] listSucursalByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Sucursal[] listSucursalByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Sucursal loadSucursalByQuery(String condition, String orderBy) throws PersistentException;
	public Sucursal loadSucursalByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Sucursal loadSucursalByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Sucursal loadSucursalByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Sucursal createSucursal();
	public boolean save(orm.Sucursal sucursal) throws PersistentException;
	public boolean delete(orm.Sucursal sucursal) throws PersistentException;
	public boolean deleteAndDissociate(orm.Sucursal sucursal) throws PersistentException;
	public boolean deleteAndDissociate(orm.Sucursal sucursal, org.orm.PersistentSession session) throws PersistentException;
	public boolean refresh(orm.Sucursal sucursal) throws PersistentException;
	public boolean evict(orm.Sucursal sucursal) throws PersistentException;
	public Sucursal loadSucursalByCriteria(SucursalCriteria sucursalCriteria);
	public Sucursal[] listSucursalByCriteria(SucursalCriteria sucursalCriteria);
}
